#!/bin/bash
set -euo pipefail

# Mount current directory db.json and .env into container root
docker run -d \
  -p 8080:8080 \
  --name tjr \
  -v "$(pwd)/db.json:/db.json" \
  -v "$(pwd)/.env:/.env" \
  tiny-json-rest:1.0.0